package ar.edu.unsam.algo3.plantasvszombies.ui.runeables

import ar.edu.unsam.algo3.plantasvszombies.dominio.Fila
import ar.edu.unsam.algo3.plantasvszombies.dominio.Zombie
import ar.edu.unsam.algo3.plantasvszombies.homes.HomeZombies
import ar.edu.unsam.algo3.plantasvszombies.ui.windows.BatallaWindow
import org.uqbar.arena.Application
import org.uqbar.commons.utils.ApplicationContext

class BatallaRunneable extends Application {

	static def main(String[] args) {
		ApplicationContext::instance.configureSingleton(typeof(Zombie), new HomeZombies)
		new BatallaRunneable().start
	}

	override protected createMainWindow() {

		new BatallaWindow(this, new Fila)
	}
}
